//
//  AppRequest.h
//  ApeExample
//
//  Created by Eton on 2017/7/31.
//  Copyright © 2017年 王-庭协. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AppHTTPService.h"

@interface AppRequest : NSObject


+ (RACSignal *)racGET:(NSString *)url
               params:(NSDictionary *)params
                class:(Class)clazz;

+ (RACSignal *)racPOST:(NSString *)url
                params:(NSDictionary *)params
                 class:(Class)clazz;

+ (RACSignal *)racMethod:(ApeMethod )method
                     url:(NSString *)url
                  params:(NSDictionary *)params
                   class:(Class)clazz
             cachePolicy:(ApeCachePolicy )cachePolicy;

@end
